package com.world.blog.domain;

import com.world.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.world.common.annotation.Excel;

/**
 * 友链对象 blog_friend_link
 * 
 * @author LiJunXi
 * @date 2025-05-25
 */
public class BlogFriendLink extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 友链ID */
    private Long linkId;

    /** 友链名称 */
    @Excel(name = "友链名称")
    private String name;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 友链图标 */
    @Excel(name = "友链图标")
    private String linkCover;

    /** 网站 */
    @Excel(name = "网站")
    private String linkUrl;

    public void setLinkId(Long linkId) 
    {
        this.linkId = linkId;
    }

    public Long getLinkId() 
    {
        return linkId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setLinkCover(String linkCover) 
    {
        this.linkCover = linkCover;
    }

    public String getLinkCover() 
    {
        return linkCover;
    }

    public void setLinkUrl(String linkUrl) 
    {
        this.linkUrl = linkUrl;
    }

    public String getLinkUrl() 
    {
        return linkUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("linkId", getLinkId())
            .append("name", getName())
            .append("description", getDescription())
            .append("linkCover", getLinkCover())
            .append("linkUrl", getLinkUrl())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
